package ru.maksb.exchange.domain.response;

import ru.maksb.exchange.domain.request.CancelOrderRequest;

public class Response {
    private String clientId;
    private ResponseType responseType;
    private String referenceId;
    
    public Response(ResponseType responseType, CancelOrderRequest request) {
        this.responseType = responseType;
        this.clientId = request.getClientId();
        this.referenceId = request.getTargetOrderReference();
    }
    public String getClientId() {
        return clientId;
    }
    public void setClientId(String clientId) {
        this.clientId = clientId;
    }
    public ResponseType getResponseType() {
        return responseType;
    }
    public void setResponseType(ResponseType responseType) {
        this.responseType = responseType;
    }
    public String getReferenceId() {
        return referenceId;
    }
    public void setReferenceId(String referenceId) {
        this.referenceId = referenceId;
    }
    
    
}
